Skip to content

Revise AI section example - #50353

Merged
BillWagner merged 2 commits into
dotnet:mainfrom
anandmeg:patch-19
Dec 10, 2025
Merged

Revise AI section example#50353
BillWagner merged 2 commits into
dotnet:mainfrom
anandmeg:patch-19

Conversation

@anandmeg

@anandmeg anandmeg commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

Updated the date and improved the AI tools section with a clearer example prompt.

Summary

Describe your changes here.

Fixes #Issue_Number (if available)


Internal previews

📄 File 🔗 Preview link
docs/csharp/how-to/concatenate-multiple-strings.md How to concatenate multiple strings (C# Guide)

Updated the date and improved the AI tools section with a clearer example prompt.
@anandmeg
anandmeg requested review from a team and BillWagner as code owners December 4, 2025 22:52
Copilot AI review requested due to automatic review settings December 4, 2025 22:52
@dotnetrepoman dotnetrepoman Bot added this to the December 2025 milestone Dec 4, 2025
@dotnet-policy-service dotnet-policy-service Bot added dotnet-csharp/svc fundamentals/subsvc community-contribution Indicates PR is created by someone from the .NET community. labels Dec 4, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR revises the AI section in the C# string concatenation how-to guide. The changes update the metadata date and improve the AI tools section by providing a clearer, more structured example prompt with better formatting.

Key Changes

  • Updated the ms.date metadata field to 12/05/2025
  • Restructured the example Copilot Chat prompt to be more readable with multi-line formatting
  • Split the AI disclaimer into separate sentences for improved clarity

Comment thread docs/csharp/how-to/concatenate-multiple-strings.md

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had one suggestion, and then this is ready to merge.

Comment thread docs/csharp/how-to/concatenate-multiple-strings.md Outdated
Updated example prompt to use string interpolation instead of String.Format.

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now LGTM. I'll ship it as soon as the build finishes.

@BillWagner
BillWagner merged commit 01a262d into dotnet:main Dec 10, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc fundamentals/subsvc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants